package me.jiatao.paging3.room

import androidx.room.Database
import androidx.room.RoomDatabase
import me.jiatao.paging3.room.remotekeys.RemoteKeysDao
import me.jiatao.paging3.room.remotekeys.RemoteKeysEntity

@Database(entities = [ArticleEntity::class, RemoteKeysEntity::class], version = 1, exportSchema = false)
abstract class AppDatabase : RoomDatabase() {
    abstract fun articleDao(): ArticleDao
    abstract fun remoteKeysDao(): RemoteKeysDao
}